<template>
  <div>
    <h1>Test3</h1>
    <button @click="isShow=!isShow">显示/隐藏</button>
    <transition-group appear
                      name="animate__animated animate__bounce"
                      enter-active-class="animate__jello"
                      leave-active-class="animate__fadeOutDown">
      <h2 v-show="isShow" key="1">你好！</h2>
    </transition-group>
  </div>
</template>

<script>
import 'animate.css'
export default {
  name: "Test3",
  data(){
    return{
      isShow:true
    }
  }
}
</script>

<style lang="less">
  h2{
    background-color: #32a8da;
  }

</style>
